package com.cgy.wideyigui.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 开启服务注册发现
 * 配置nacos注册发现地址
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除跟数据源有关的配置
public class YiguiGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(YiguiGatewayApplication.class, args);
    }

}
